package com.alibaba.algo.annotation;


import com.alibaba.algo.enums.OperateTypeEnum;
import com.alibaba.algo.enums.ResourceTypeEnum;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @ClassName: OperateLogAnnotation
 * @Description: 操作日志注解
 * @Author: wugongzi
 * @Date: 2021/12/02 16:07
 * @Version: 1.0
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface OperateLogAnnotation {
    /**
     * 操作资源类型
     *
     * @return
     */
    ResourceTypeEnum resouceType();

    /**
     * 操作类型
     *
     * @return
     */
    OperateTypeEnum operateType();


}
